<table width="100%">
  <tr>
    <th colspan="2">Producten</th>
  </tr>

  <% if products.size > 0 %>
<% products.each do |product| %>

  <%=render :partial => 'products/list_product', :locals => {:product => product} %>
  
<% end %>
  <% else %>
  <tr>
    <td colspan="3">Geen producten gevonden</td>
  </tr>
  <% end %>

</table>